Optimal. Leaf size=174 \[ -\frac{\sqrt{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} a \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} a \sqrt{\sqrt{b^2-4 a c}+b}}-\frac{1}{a x} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.495297, antiderivative size = 174, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167 \[ -\frac{\sqrt{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} a \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} a \sqrt{\sqrt{b^2-4 a c}+b}}-\frac{1}{a x} \]
Antiderivative was successfully verified.
[In] Int[1/(x^2*(a + b*x^2 + c*x^4)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 40.6179, size = 177, normalized size = 1.02 \[ \frac{\sqrt{2} \sqrt{c} \left (b - \sqrt{- 4 a c + b^{2}}\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b + \sqrt{- 4 a c + b^{2}}}} \right )}}{2 a \sqrt{b + \sqrt{- 4 a c + b^{2}}} \sqrt{- 4 a c + b^{2}}} - \frac{\sqrt{2} \sqrt{c} \left (b + \sqrt{- 4 a c + b^{2}}\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b - \sqrt{- 4 a c + b^{2}}}} \right )}}{2 a \sqrt{b - \sqrt{- 4 a c + b^{2}}} \sqrt{- 4 a c + b^{2}}} - \frac{1}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/x**2/(c*x**4+b*x**2+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.765641, size = 191, normalized size = 1.1 \[ -\frac{\frac{\sqrt{2} \sqrt{c} \left (\sqrt{b^2-4 a c}+b\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{b^2-4 a c} \sqrt{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt{2} \sqrt{c} \left (\sqrt{b^2-4 a c}-b\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{b^2-4 a c} \sqrt{\sqrt{b^2-4 a c}+b}}+\frac{2}{x}}{2 a} \]
Antiderivative was successfully verified.
[In] Integrate[1/(x^2*(a + b*x^2 + c*x^4)),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.025, size = 232, normalized size = 1.3 \[ -{\frac{c\sqrt{2}}{2\,a}\arctan \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}+{\frac{c\sqrt{2}b}{2\,a}\arctan \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}+{\frac{c\sqrt{2}}{2\,a}{\it Artanh} \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}+{\frac{c\sqrt{2}b}{2\,a}{\it Artanh} \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}-{\frac{1}{ax}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/x^2/(c*x^4+b*x^2+a),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ -\frac{\int \frac{c x^{2} + b}{c x^{4} + b x^{2} + a}\,{d x}}{a} - \frac{1}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^4 + b*x^2 + a)*x^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.275968, size = 1507, normalized size = 8.66 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^4 + b*x^2 + a)*x^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 6.19716, size = 148, normalized size = 0.85 \[ \operatorname{RootSum}{\left (t^{4} \left (256 a^{5} c^{2} - 128 a^{4} b^{2} c + 16 a^{3} b^{4}\right ) + t^{2} \left (48 a^{2} b c^{2} - 28 a b^{3} c + 4 b^{5}\right ) + c^{3}, \left ( t \mapsto t \log{\left (x + \frac{- 64 t^{3} a^{5} c^{2} + 48 t^{3} a^{4} b^{2} c - 8 t^{3} a^{3} b^{4} - 10 t a^{2} b c^{2} + 10 t a b^{3} c - 2 t b^{5}}{a c^{3} - b^{2} c^{2}} \right )} \right )\right )} - \frac{1}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/x**2/(c*x**4+b*x**2+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.795577, size = 1, normalized size = 0.01 \[ \mathit{Done} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^4 + b*x^2 + a)*x^2),x, algorithm="giac")
[Out]